styling: Have unfocused selections
authorJakub Steiner <jimmac@gmail.com>
Wed, 3 Nov 2021 11:44:59 +0000 (12:44 +0100)
committerJakub Steiner <jimmac@gmail.com>
Wed, 3 Nov 2021 12:08:01 +0000 (13:08 +0100)
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4393

gtk/theme/Default/_common.scss

index ebef2a800ce26378fd6e0b3bc4860296ca6bb289..2725291cfde10b80475e6f5b2e4f862fd7916523 100644 (file)
@@ -4127,7 +4127,11 @@ tooltip.csd {
 // catch all extend :)
 
 %selected_items {
-  background-color: $selected_bg_color;
+  background-color: desaturate($selected_bg_color,100%);
+
+  &:focus-within {
+    background-color: $selected_bg_color;
+  }
 
   @at-root %nobg_selected_items, & {
     color: $selected_fg_color;